package com.example.ibsp_demo.mapper.user;

import com.example.ibsp_demo.pojo.entity.user.UserActivity;

import java.util.List;

public interface UserActivityMapper {
    /*
    *
    * 基础增删查改操作
    *
    * */
    UserActivity selectByUaid(Integer id);
    List<UserActivity> selectByUid(Integer uid);
    List<UserActivity> selectByActivityId(Integer activityId);

    int insert(UserActivity userActivity);
    int update(UserActivity userActivity);
    int deleteByUaid(Integer uaid);

}
